home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 005 / chiwrite.arc / TUTORIAL.CHI < prev    next >
Encoding:
Text File  |  1985-06-30  |  9.4 KB  |  201 lines

  1. \.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\4CHIWRITER\.TUTORIAL\,
  2. \+
  3. \+
  4. 1. Cursor Movement\,
  5. \1The Cursor keys [Left], [Right], [Up] and [Down]\. in\. the\. numeric 
  6. keypad\. move\. the\. cursor\. one\. unit\. in\. the\. desired\. direction. 
  7. [Ctrl-Left], [Ctrl-Right] move one word to\. the\. left\. and\. right. 
  8. [Home] and [End] move to the beginning and end of a line.\. \3Try\. it 
  9. out now!\,
  10.      \1[PgUp] and [PgDn] scroll one screen up and down,\. [Ctrl-Home] 
  11. and [Crtl-End] move to the beginning and end of the document.\. \3Try 
  12. them now and remember to hit \1[Ctrl-Home] \3to return here!\,
  13.      Use \1[PgDn] \3in the following to page through this tutorial!\,
  14. \+
  15. \+
  16. \42. Inserting Text\,
  17. \1To insert text, move the cursor anywhere on the screen\. and\. start 
  18. typing. Use the [Backspace] key to delete the character before the 
  19. cursor, the [Del] key to delete the character\. under\. the\. cursor. 
  20. [Ins] toggles between \2"\1Insert mode\3" \1and \2"\1Overwrite\. mode\3"\1.\. (Check 
  21. the \4INS: \1indicator in the status line for the current mode.)\. \3Move 
  22. the cursor to the \4* \3on the next line and type your name!\,
  23. \.\.\.\.\.\4*\,
  24. \+
  25. \+
  26. 3. Font Change\,
  27. \1Currently, 5 fonts are available to you:\,
  28.  F1: Roman  F2: Symbol (\2& C L K\1)  F3: \3Italic  \1F4: \4Bold  \1F5: Demo\,
  29. To change the font, hit the desired function key on\. the\. left\. of 
  30. the keyboard \3twice\1. Note that the \4FONT: \1indicator\. in\. the\. status 
  31. line changes. If you hit the function key only \3once\1, only the next 
  32. character is taken from the new font and the editor reverts to the 
  33. old font. To see\. a\. font,\. type\. its\. function\. key\. and\. [Alt-H] 
  34. (\2"\1Help\3"\1). \3Move the cursor to the next \4*\3, and try out the different 
  35. fonts! Shift back to font 1 when you are done!\,
  36. \.\.\.\.\.\4*\,
  37. \+
  38. \+
  39. 4. The Anatomy of a Line\,
  40. \1Each document consists of a sequence of lines. Each line ends in a 
  41. marker which is displayed at the rightmost column of\. the\. screen. 
  42. There are two types of markers:\,
  43.                                                      A soft return marker \2__K
  44.                                                      \1A hard return marker \2__K\,
  45. \1Successive lines are separated by a short line segment in the last 
  46. column and successive pages are separated by a long  dotted  line, 
  47. like this: \2o\!\,\/ \-
  48. \-           M
  49. \+                                       \1superscripts
  50. \+                                    of
  51. \+                             levels
  52. \+                     several
  53.      A line can have \,
  54. \-                                                    and
  55. \-                                                        subscripts.
  56. \+
  57. \+
  58. \45. Super- and Subscripts\"\,
  59. \3Move the cursor to the next \4* \3and type \1H [Down] 2 [Up] O\3!\,
  60. \-
  61. \-
  62.      \4*\,
  63. \1Subscripts and superscripts can\. be\. inserted\. in\. any\. line.\. The 
  64. return marker at the end of every line is at the \2"\1base\. level\3"\. \1of 
  65. the line. If you move the cursor away from the base level,\. super- 
  66. and subscripts can be\. inserted.\. If\. the\. cursor\. happens\. to\. be 
  67. between two lines, a new level is inserted. \3Move the\. cursor\. back 
  68. to the \1H O \3you just typed and insert past it \1boils at 100[Up][F2]d 
  69. \-        2
  70. [Down]C\3!\,
  71. \+
  72. \+
  73. \46. Adding and Zapping Levels\,
  74. \1If you type a formula or a table, you will need several levels\. of 
  75. superscripts and subscripts. [Ctrl-A] adds\. one\. level\. below\. the 
  76. cursor, and [Ctrl-Z] zaps (i.e. deletes) the level containing\. the 
  77. cursor. However, you cannot zap if the cursor is in the base level 
  78. or between two lines. When writing a formula, it is\. usually\. best 
  79. to first add an ample number of levels and later\. zap\. the\. unused 
  80. ones. \4Note: \1When editing a table or formula, turn insert mode \4off! 
  81. \3Move the cursor to the next \4*\3, turn insert mode off, add about\. 10 
  82. \+                                         \5%______^
  83. \+                                           2
  84. \+                                   \1-b \5+ $ \1b -4ac
  85. \+
  86. \3levels and copy this formula: \1x =\. \2______________\3.\. When\. you\. are 
  87. \-
  88. \-                                        \12a
  89. \3done, turn insert mode back on! You will find the \2_ \3in font 2\. and 
  90. the special characters in font 5. (This exercise is trickier\. than 
  91. you might expect.\. Formula\. editing\. requires\. some\. practice\. and 
  92. patience.)\,
  93. \.\.\.\.\.\4*\,
  94. \+
  95. \+
  96. 7. Word Wrap and Formatting\,
  97. \1If you type text, don't use the [Return] key to end a\. line.\. When 
  98. you go past\. the\. right\. margin,\. the\. last\. word\. will\. be\. moved 
  99. automatically on a new line. The old line is terminated by a\. soft 
  100. return. If justification mode is on (\4JUST:1 \1in the\. status\. line), 
  101. the old line is automatically right\. justified.\. Use\. [Ctrl-J]\. to 
  102. toggle justification mode. At the\. end\. of\. every\. paragraph,\. you 
  103. should use the [Return] key to insert a hard return.\,
  104.    To format a paragraph, move the cursor into its first line. and 
  105. hit [Ctrl-F]. If justification mode is on, the editor\. produces\. a \/ flush right margin by inserting soft spaces (the ones\. that\. don't 
  106. look like small dots),\. otherwise\. a\. ragged\. right\. margin.\.  The 
  107. formatting stops at the next hard return. \3Move the cursor\. to\. the 
  108. next \4* \3and follow the instructions above it!\,
  109. \-
  110. \-
  111. \-
  112. \-
  113. \-
  114. Write a sentence that is longer than one line to see the word wrap. Then move 
  115. the cursor to the 
  116. first line of this paragraph and hit \1[Ctrl-F]\3! 
  117. \4*\,
  118. \+
  119. \+
  120. 8. Changing the margins\,
  121. \1[Ctrl-L], [Ctrl-R] change the left and right margin resp.\. to\. the 
  122. cursor column. The line segment underlining the status line\. shows 
  123. the margins: Outside the margins, the line is dotted. The\. maximum 
  124. right margin is 78. \3Try out \1[Ctrl-L]\. \3and\. \1[Ctrl-R]\3!\. Observe\. the 
  125. effect on the status line! Be sure to reset the left margin\. to\. 1 
  126. and the right margin to 66 when you are done.\,
  127. \+
  128. \+
  129. \49. Pagination\,
  130. \1The computer automatically computes page breaks. However,\. if\. you 
  131. want to force a page break (e.g. at the end\. of\. a\. chapter),\. hit 
  132. [Ctrl-P]. Hitting [Ctrl-P] again removes the page break. \3Move\. the 
  133. cursor to the next \4* \3and\. hit\. \1[Ctrl-P].\. \3Hit\. \1[Ctrl-P]\. \3again\. to 
  134. remove the page break!\,
  135. \.\.\.\.\.\4*\,
  136. \+
  137. \+
  138. 10. Splitting and Merging Lines\,
  139. \1To split a line in two, move the cursor at\. the\. desired\. location 
  140. and enter a hard return\. with\. the\. [Return]\. key.\. To\. merge\. two 
  141. successive lines, move the cursor to\. the\. last\. column\. (use\. the 
  142. [End] key!), and delete the marker using the [Del] key.\. \3Move\. the 
  143. cursor to the next \4* \3and\. hit\. \1[Return].\. \3Then\. delete\. the\. newly 
  144. created hard return!\,
  145. \-
  146. \-
  147.      Split this line \4* \3and merge it back together!\,
  148. \+
  149. \+
  150. \411. Cut and Paste\,
  151. \1To delete a block of text, move the cursor to\. the\. beginning\. and 
  152. mark it by hitting [Alt-M]. Then move the cursor to the end of the 
  153. text and hit [Alt-C] (\2"\1Cut\3"\1). The highlighted area is cut out\. and 
  154. placed into a buffer. To insert the buffer contents anywhere\. into 
  155. the text, move the cursor to the insert location and\. hit\. [Alt-P] 
  156. (\2"\1Paste\3"\1). If you want to copy a block\. into\. the\. buffer\. without 
  157. deleting it, mark the beginning and hit [Alt-D] (\2"\1Duplicate\3"\1). \3Cut \/ out the first part of the sentence below and paste it\. behind\. the 
  158. second part!\,
  159. \-
  160. \-
  161.      \4* \1Mark here and cut until here \4* \1and paste here: \,
  162. \+
  163. \+
  164. \+
  165. \412. The FULL Indicator\,
  166. \1The file you are editing is stored in\. the\. computer\. memory.\. You 
  167. should save it occasionally, especially if you have problems\. with 
  168. the electrical power. Also, since the memory size is limited,\. you 
  169. should take care that your file fits inside. If\. you\. run\. out\. of 
  170. memory, the editor will\. try\. to\. save\. your\. text\. (in\. the\. file 
  171. OVERFLOW.CHI) and\. terminate\. execution.\. You\. should\. avoid\. that 
  172. unfriendly event by looking at the \4FULL \1indicator periodically. If 
  173. it is in the 90% range, save your file! \3Check the\. \4FULL\. \3indicator 
  174. now!\,
  175. \+
  176. \+
  177. \+
  178. \413. Key Sequences\,
  179. \-
  180. \1Sequences of keystrokes can be stored, given a name\. and\. replayed 
  181. later by CHIWRITER.\. To\. replay\. a\. key\. sequence,\. hit\. [Ctrl-K], 
  182. enter the name of the\. sequence\. and\. hit\. [Return].\. Here\. is\. an 
  183. example: We programmed a key sequence that\. deletes\. the\. sentence 
  184. containing the cursor, and named it DLS. \3Move the\. cursor\. to\. the 
  185. next \4* \3and enter \1[Ctrl-K]DLS[Return]\3! The sentence containing\. the 
  186. cursor will be deleted\1.\,
  187.      Here\. is\. a\. demonstration\. of\. the\. \2"\1Delete\. Sentence\3"\.\. \1key 
  188. sequence. This sentence will be automatically deleted \4*\. \1when\. the 
  189. key sequence is executed.\,
  190. \+
  191. \+
  192. \+
  193. \414. How To Get Out\,
  194. \1To end the edit session and save your file, hit [Alt-Q]\. (\2"\1Quit\3"\1). 
  195. Your file will be saved and the input file will\. be\. renamed\. with 
  196. the extension .BAK. If you do not want to save your file\. (because 
  197. you only wanted to read\. it\. or\. messed\. it\. up\. too\. much\. during 
  198. editing), hit [Esc]. That gets you into the editor's command menu. 
  199. Hit Q and answer Y when asked whether you do NOT want to save your 
  200. changes. \3Since you do not want to save the changes you\. just\. made 
  201. to this tutorial, hit \1[Esc] Q Y \3to quit.\,